package com.duobaoyu.dby.supply.db.entity.refund;

import com.baomidou.mybatisplus.annotation.*;
import com.duobaoyu.dby.common.mybatis.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * 售后返件信息表
 *
 * @author LY
 * @email 249007302@qq.com
 * @date 2023-09-26 10:42:54
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@TableName("scb_after_sale_return")
@ApiModel(value = "售后返件信息表")
@EqualsAndHashCode(callSuper = true)
public class AfterSaleReturn extends BaseEntity {
	private static final long serialVersionUID = 1L;

	/**
	 * 主键ID
	 */
	@TableId(type = IdType.ASSIGN_ID)
	private Long id;
	/**
	 * 售后申请编号
	 */
	@ApiModelProperty(value = "售后申请编号")
	private String afterSaleSn;
	/**
	 * 返件类型 1->渠道自营配送 2->三方配送
	 */
	@ApiModelProperty(value = "返件类型 1->渠道自营配送 2->三方配送")
	private Integer returnType;
	/**
	 * 返件省编码
	 */
	@ApiModelProperty(value = "返件省编码")
	private String returnProvinceCode;
	/**
	 * 返件省名称
	 */
	@ApiModelProperty(value = "返件省名称")
	private String returnProvinceName;
	/**
	 * 返件市编码
	 */
	@ApiModelProperty(value = "返件市编码")
	private String returnCityCode;
	/**
	 * 返件市名称
	 */
	@ApiModelProperty(value = "返件市名称")
	private String returnCityName;
	/**
	 * 返件区编码
	 */
	@ApiModelProperty(value = "返件区编码")
	private String returnCountyCode;
	/**
	 * 返件区名称
	 */
	@ApiModelProperty(value = "返件区名称")
	private String returnCountyName;
	/**
	 * 返件县、镇编码
	 */
	@ApiModelProperty(value = "返件县、镇编码")
	private String returnTownCode;
	/**
	 * 返件县、镇名称
	 */
	@ApiModelProperty(value = "返件县、镇名称")
	private String returnTownName;
	/**
	 * 返件详细地址
	 */
	@ApiModelProperty(value = "返件详细地址")
	private String returnAddress;
	/**
	 * 版本号-用作乐观锁
	 */
	@Version
	@ApiModelProperty(value = "版本号-用作乐观锁")
	private Integer version;
	/**
	 * 是否删除 0-否 1-是
	 */
	@TableLogic(value = "0", delval = "1")
	@ApiModelProperty(value = "是否删除 0-否 1-是")
	private Integer delFlag;


}
